POV-Ray : Newsgroups : povray.general : color problem : color problem Server Time
4 Nov 2024 13:00:53 EST (-0500)
  color problem  
From: Tom Melly
Date: 16 Dec 2003 11:51:25
Message: <3fdf380d$1@news.povray.org>
According to the docs (6.1.5.5), the following should be okay, but I get an
error...

#declare PigTest = pigment{color <1,1,0> + blue 1}

Any ideas?

Assuming I've done something stupid, will the correct syntax allow me to add a
filter component to a pigment map?

e.g.

#declare MyPig =
pigment{
    bozo
    pigment_map{
        [0 rgb<1,1,0>]
        [1 rgb<1,0,1>]
    }
}

#declare MyPig2=pigment{MyPig filter 0.5}

-- 
#macro A(V,B,C,R)#while(B-256)#if(V-128/B>=0)sphere{0,.5translate<C-4R-1,9>
pigment{rgb<1-C/8R/2C/8>}}#local V=V-128/B;#end#local B=B*2;#local C=C+1;#
end#end A(234,1,0,2)A(85,1,0,1)A(81,1,0,0)light_source{-5 1}//Tom Melly


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.